import java.util.concurrent.TimeUnit;

public class T1 implements Runnable{

    private SyncTest obj;
    public T1(SyncTest obj){
        this.obj = obj;
    }
    @Override
    public void run() {
        String tName = Thread.currentThread().getName();
        obj.a(tName);
        obj.b(tName);
    }
}
